<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>老人</title>
    <link rel="stylesheet" href="css/style.css">
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        body {
            height: 100%;
        }

        ul li {
            list-style: none;
        }

        #shouye {
            width: 100%;
            min-width: 1200px;


        }

        #head {
            width: 80%;
            height: 80px;
            min-width: 1200px;
            background-color: white;
            margin: 0 auto;
        }

        #logo {
            width: 30%;
            height: 80px;
            float: left;
            position: relative;
            left: 10px;
        }

        #headleft {
            width: 50%;
            float: left;
            height: 80px;
        }

        #headleft1 {
            height: 80px;
            line-height: 80px;
        }

        #textword {
            width: 250px;
            height: 30px;
        }

        #textsearch {
            width: 50px;
            height: 35px;
            border: 1px solid #ccc;
            background: url(images/serach.jpg);
        }

        /*背景图  */
        #login {
            text-decoration: none;
            color: #407434;
        }

        #login img {
            width: 20px;
            height: 80px;
        }

        #headright {
            height: 80px;
            line-height: 80px;
            text-align: center;
        }

        /* 注销按钮 */
        #loginName,
        #unregister {
            display: none;
        }

        #unregister {
            height: 25px;
            width: 50px;
            border: none;
            outline: none;
            border-radius: 5px;
            background: linear-gradient(rgb(160, 191, 124), rgb(101, 147, 74));
            box-shadow: 0 0 3px rgb(64, 116, 52);
            cursor: pointer;
            color: white;
        }

        #bodynav {
            width: 100%;
            height: 60px;
            background-color: rgb(160, 190, 117);
            z-index: 5;
        }

        #nav {
            width: 80%;
            height: 60px;
            margin: 0 auto;
            background-color: rgb(160, 190, 117);
        }

        #nav li {
            height: 60px;
            line-height: 60px;
            text-align: center;
            font-size: 20px;
            width: 20%;
            float:left;
    
        }

        #nav a {
            color: grey;
            font-weight: bold;
        }

        #nav a:hover {
            color: #407434;
            font-weight: bold;
        }

        /* 套餐 */
        #choose {
            width: 500px;
            display: none;
        }

        #pep {
            list-style: none;
            margin-left: 80px;
        }

        #pep dd {
            width: 100px;
            height: 50px;
            line-height: 50px;
            background-color: rgba(230, 230, 230, 0.6);
            font-size: 14px;
            position: relative;
        }

        #pep dd a {
            color: grey;
        }
        .shicai {
            height: 64px;
            font-size:30px;
            color: #000000;
            padding-left: 50px;
        }

        .jinji {
            background: url(images/pr_t.png) no-repeat;
            height: 64px;
            font-size:30px;
            color: #000000;
            padding-left: 50px;
            margin-left: 50px;
        }

        .foot {
            display: none;
        }

        .container p span {
            font-size: 18px;
        }

        .foot p span {
            font-size: 18px;
        }

        .laoren0 {
            width: 100%;
            height: 500px;
            background: url('../images/laoren.jpg') 100% 40% / cover no-repeat;
            border: 1px solid #ccc;

        }

        .laoren0_1 {
            width: 800px;
            height: 100px;
            position: relative;
            top: 48%;
            left: 30%;
            color: #ccc;
            font-size: 50px;
        }

        .laoren0 h2 {
            width: 800px;
            height: 50px;
            /* margin: 0 auto; */
            position: relative;
            top: 43%;
            left: 40%;
            color: #aaa;
            font-size: 40px;
        }

        .info h3 {
            color: white;
        }

        .laoren {
            width: 80%;
            min-width: 1200px;
            margin: 0 auto;
        }

        .middleshicai {
            width: 800px;
            background: url(images/pr_t.png) no-repeat;
            height: 64px;
            font-size:30px;
            color: #000000;
        }

        #ha {
            width: 100%;
            min-width: 1200px;
            height: 70px;
        }

        .header {
            margin-top: 25px;
            font-size: 20px;
            color: #666;
        }

        #updown {
            width: 500px;
            display: none;
        }

        #up {
            list-style: none;
            margin-left: 80px;

        }

        #up dd {
            width: 100px;
            height: 50px;
            line-height: 50px;
            background-color: #ccc;
            font-size: 14px;
            position: relative;

        }

        #up dd a {
            color: grey;

        }

        #tiaozhuan {
            width: 100%;
            margin-left: 50px;
            margin-bottom: 20px;

        }

        #tianzhuan0 {
            width: 80%;
            min-width: 1000px;
            text-align: center;
            font-size: 40px;
            margin: 0 auto;
            line-height: 160px;
            color: rgb(160, 190, 117);
        }

        #tiaozhuan #tiaozhuan1,
        #tiaozhuan #tiaozhuan2 {
            width: 100%;
            height: 300px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }

        #tiaozhuan #tiaozhuan1 li,
        #tiaozhuan #tiaozhuan2 li {
            flex: 1;
            align-self: center;
        }

        #tiaozhuan #tiaozhuan1 li img,
        #tiaozhuan #tiaozhuan2 li img {
            height: 230px;
            width: 210px;
            border: 1px solid #ccc;
            border-radius: 25px;
            box-shadow: 5px 5px 5px;

        }

        #tiaozhuan #tiaozhuan1 li a,
        #tiaozhuan #tiaozhuan2 li a {
            font-size: 18px;
            color: white;
        }

        #tiaozhuan #tiaozhuan1 li .a11,
        #tiaozhuan #tiaozhuan2 li .a11 {
            height: 30px;
            width: 220px;
            margin-top: 15px;
            line-height: 30px;
            border: 1px solid #ccc;
            background-color: rgb(160, 190, 117);
            border-radius: 5px;
        }


        #tiaozhuan #tiaozhuan1 li a:hover,
        #tiaozhuan #tiaozhuan2 li a:hover {
            color: green;
        }

        #tiaozhuan h1 {
            color: rgb(160, 190, 117);
            ;
            text-align: center;
            margin-top: 30px;
        }

        /* 底部 */
        #bottom {
            width: 100%;
            height: 150px;
            background-color: rgba(30, 30, 30, 0.4);
            margin-top: 20px;
        }

        #bottomtext {
            width: 80%;
            height: 150px;
            margin: 0 auto;
        }

        #bottomleft {
            float: left;
            width: 200px;
            height: 150px;
            position: relative;
            top: 10px;

        }

        #bottomrighttext a,
        #bottomleft span,
        #bottomrighttext span,
        #bottomrighttext a {
            color: grey;
        }

        #bottomleft img {
            width: 200px;
            height: 80px;
        }

        #bottomright {
            width: 100%-200px;
            height: 150px;

        }

        #bottomrighttext {
            padding: 30px;
            position: relative;
            top: 40px;
            left: 30px;
        }

        #bottomrighttext a {
            text-decoration: none;
            margin-left: 15px;
        }
    </style>
    <script src="js/jquery-3.4.1.min.js"></script>
    <script>
        $(function () {
            $('#secondnav').mouseover(function () {
                $('#choose').css('display', 'block')
            })
            $('#secondnav').mouseout(function () {
                $('#choose').css('display', 'none')
            })
        })

        $(function () {
            $('#down').mouseover(function () {
                $('#updown').css('display', 'block')
            })
            $('#down').mouseout(function () {
                $('#updown').css('display', 'none')
            })
        })

        $(function () {
            $('.shicai').click(function () {
                $('.container').css('display', 'block')
                $('.foot').css('display', 'none')
            })
            $('.jinji').click(function () {
                $('.container').css('display', 'none')
                $('.foot').css('display', 'block')
            })
        })

        //登录后显示当前用户
        window.onload = function () {
            if (localStorage.getItem('loginName')) {
                var links = document.querySelectorAll('#headright a')
                for (var i = 0; i < links.length; i++) {
                    links[i].style.display = 'none';
                }
                document.querySelector("#loginName").style.display = 'inline-block';
                document.querySelector("#unregister").style.display = 'inline-block';
                document.querySelector('#headright span').style.display = "none";
                document.querySelector('#loginName').innerHTML = "当前账号：" + '<a href="cebiandaohanglan.html">' + localStorage.getItem('loginName') + '</a>'
            }
        }
        //注销事件
        function unregister() {
            localStorage.removeItem('loginName');
            location.replace('shouye.html')
        }
        //导航栏固定
        window.onscroll = function () {
            if (document.documentElement.scrollTop >= 80) {
                document.getElementById('bodynav').style.position = 'fixed';
                document.getElementById('bodynav').style.top = 0;
                document.getElementById('bodynav').style.left = 0;
            }
            else {
                document.getElementById('bodynav').style.position = 'static';
            }
        }
    </script>
</head>

<body>
    <div id="head">
        <div id="logo">
            <img src="images/logo1.jpg" alt="" width="200px" height="80px">
        </div>
        <div id="headleft">
            <div id="headleft1">
                <form action="#">
                    <input id="textword" type="text"><input id="textsearch" type="submit" value=" ">
                </form>
            </div>
        </div>
        <div id="headright">
            <a href="login.html" id="login">登录</a>
            <span>|</span>
            <a href="register.html" id="login">注册</a>
            <span id="loginName"></span>
            <button id="unregister" onclick="unregister()">注销</button>
        </div>
    </div>
    <div id="bodynav">
        <div id="nav">
            <ul>
                <li><a href="shouye.html">首页</a></li>
                <li id="secondnav"><a href="#">套餐</a>
                    <div id="choose">
                        <dl id="pep">
                            <dd>人数</dd>
                            <dd><a href="meetmenu2-3.html">2-3人</a></dd>
                            <dd><a href="#">4-6人</a></dd>
                            <dd><a href="#">7-8人</a></dd>
                        </dl>
                    </div>
                </li>
                <li id="down"><a href="#">健康饮食 </a>
                    <div id="updown">
                        <dl id="up">
                            <dd>人体群众</dd>
                            <dd><a href="laoren.html">老人</a></dd>
                            <dd><a href="">孕妇</a></dd>
                            <dd><a href="">青少年</a></dd>
                        </dl>
                    </div>
                </li>
                <li><a href="fenxiangjiemian.html">分享圈</a></li>
                <li><a href="contactus.html">联系我们</a></li>
            </ul>
        </div>
    </div>
    <div class="laoren0">
        <h2>老人吃什么对身体好？</h2>
        <div class="laoren0_1">Eat Healthy Food Is Important</div>
    </div>
    <div class="laoren">
        <div id="ha">
            <p class="header">
                　人们从60岁开始步入老年阶段，这一阶段有其独特的生理代谢特点。如基础代谢率下降，细胞的功能下降，同时器官的功能也有所改<br>变。体内的细胞数量减少，矿物质慢慢流失，体内的水分也有所减少，各个系统的功能也有所降低。
            </p>
        </div><br>
        <div class="middleshicai">
            <strong class="shicai">适宜的食材</strong>
            <strong class="jinji">禁忌的食材</strong><br>
        </div>

        <div class="container">
            <p>1.饮食以清淡为主,早餐多吃一些营养丰富的食物有助于身体的健康。</p>
            <p>2.富含蛋白质，肉类食品均衡饮食，豆类食品也要合理搭配。</p>
            <p>3.维生素丰富，多吃有机的蔬菜和一些新鲜的水果。</p>
          
            <div class="main_title_3">
                <h2>Eat Health Food</h2>
                <p>It is very important for us to eat healthy food</p>
    
            </div>
            <div class="row justify-content-center">
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images8.alphacoders.com/735/thumb-350-735882.jpg" alt="">
                            <div class="info">
                                <small>122 Results</small>
                                <em><i class="icon-comment"></i> 356 Reviews</em>
                                <h3>哈密瓜</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images6.alphacoders.com/869/thumb-350-869872.jpg" alt="">
                            <div class="info">
                                <small>245 Results</small>
                                <em><i class="icon-comment"></i> 123 Reviews</em>
                                <h3>西瓜</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images6.alphacoders.com/901/thumb-350-901410.jpg" alt="">
                            <div class="info">
                                <small>95 Results</small>
                                <em><i class="icon-comment"></i> 245 Reviews</em>
                                <h3>苹果</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images8.alphacoders.com/394/thumb-350-394219.jpg" alt="">
                            <div class="info">
                                <small>123 Results</small>
                                <em><i class="icon-comment"></i> 187 Reviews</em>
                                <h3>香蕉</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images3.alphacoders.com/242/thumb-350-242947.jpg" alt="">
                            <div class="info">
                                <small>92 Results</small>
                                <em><i class="icon-comment"></i> 221 Reviews</em>
                                <h3>猕猴桃</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <div class="grid_item_img">
                    <a class="grid_item">
                        <figure>
                            <img src="https://images.alphacoders.com/877/thumb-350-877068.jpg" alt="">
                            <div class="info">
                                <small>92 Results</small>
                                <em><i class="icon-comment"></i> 323 Reviews</em>
                                <h3>血橙</h3>
                            </div>
                        </figure>
                    </a>
                </div>
            </div>
        </div>
        <div class="foot">
            <p>1.忌辛辣食物,刺激性的食物,生冷食物和不易消化的食物</p>
            <p>2忌油腻食物，早餐以清淡为主，不可暴饮暴食，注意营养比例。</p>
            <p>3.忌酒忌烟，老人的身体器官退化，应远离烟酒。</p>
            <div class="main_title_3">
                <h2>Eat Health Food</h2>
                <p>It is very important for us to eat healthy food</p>
                <!-- <a href="all-categories.html">V</a> -->
            </div>
            <div class="row justify-content-center">
                <div class="grid_item_img1">
                    <a href="1.html" class="grid_item">
                        <figure>
                            <img src="https://images6.alphacoders.com/517/thumb-350-517780.jpg" alt="">
                            <div class="info">
                                <small>122 Results</small>
                                <em><i class="icon-comment"></i> 356 Reviews</em>
                                <h3>鸡尾酒</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img1">
                    <a href="grid-listings-filterstop.html" class="grid_item">
                        <figure>
                            <img src="https://images2.alphacoders.com/457/thumb-350-457529.jpg" alt="">
                            <div class="info">
                                <small>245 Results</small>
                                <em><i class="icon-comment"></i> 123 Reviews</em>
                                <h3>蛋糕</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img1">
                    <a href="grid-listings-filterstop.html" class="grid_item">
                        <figure>
                            <img src="https://images3.alphacoders.com/553/thumb-350-553523.jpg" alt="">
                            <div class="info">
                                <small>95 Results</small>
                                <em><i class="icon-comment"></i> 245 Reviews</em>
                                <h3>咖啡</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <!-- /grid_item -->
                <div class="grid_item_img1">
                    <a href="grid-listings-filterstop.html" class="grid_item">
                        <figure>
                            <img src="https://images7.alphacoders.com/402/thumb-350-402852.jpg" alt="">
                            <div class="info">
                                <small>123 Results</small>
                                <em><i class="icon-comment"></i> 187 Reviews</em>
                                <h3>果酱</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <div class="grid_item_img1">
                    <a href="grid-listings-filterstop.html" class="grid_item">
                        <figure>
                            <img src="https://images5.alphacoders.com/654/thumb-350-654072.jpg" alt="">
                            <div class="info">
                                <small>92 Results</small>
                                <em><i class="icon-comment"></i> 221 Reviews</em>
                                <h3>冰淇淋</h3>
                            </div>
                        </figure>
                    </a>
                </div>
                <div class="grid_item_img1">
                    <a href="grid-listings-filterstop.html" class="grid_item">
                        <figure>
                            <img src="https://images4.alphacoders.com/709/thumb-350-709045.jpg" alt="">
                            <div class="info">
                                <small>92 Results</small>
                                <em><i class="icon-comment"></i> 323 Reviews</em>
                                <h3>糖果</h3>
                            </div>
                        </figure>
                    </a>
                </div>
            </div>
        </div>
        <div id="tianzhuan0">老人养生秘法</div>
        <div id="tiaozhuan">
            <!-- <h1>老人养生秘法</h1> -->
            <ul id="tiaozhuan1">
                <li class="a1"><img src="images/jiankang.png"><br><a href="1.html">
                        <div class="a11">多吃红糖，让老人延年益寿</div>
                    </a></li>
                <li class="a2"><img src="images/jiankang.png"><br><a href="2.html">
                        <div class="a11">老人吃熟水果治病胜过良药</div>
                    </a></li>
                <li class="a3"><img src="images/jiankang.png"><br><a href="3.html">
                        <div class="a11">老人食粗粮宜将其“细做”</div>
                    </a></li>
                <li class="a4"><img src="images/jiankang.png"><br><a href="4.html">
                        <div class="a11">老人养生：早餐宜迟不宜早</div>
                    </a></li>
            </ul>
            <ul id="tiaozhuan2">
                <li class="a5"><img src="images/jiankang.png"><br><a href="5.html">
                        <div class="a11">老人消化道保养的九妙招</div>
                    </a></li>
                <li class="a6"><img src="images/jiankang.png"><br><a href="6.html">
                        <div class="a11">老人的饮食养生的4个法则</div>
                    </a></li>
                <li class="a7"><img src="images/jiankang.png"><br><a href="7.html">
                        <div class="a11">中老年必知降压降脂食疗方</div>
                    </a></li>
                <li class="a8"><img src="images/jiankang.png"><br><a href="8.html">
                        <div class="a11">高血压老人的饮食规律</div>
                    </a></li>
            </ul>
        </div>

    </div>
    <div id="bottom">
        <div id="bottomtext">
            <div id="bottomleft">
                <img src="images/logo1.png" alt=""><br>
                <span>一年四季，一日三餐</span>
            </div>
            <div id="bottomright">
                <div id="bottomrighttext">
                    <span>关于恰饭吧</span>
                    <a href="#">网站介绍</a>
                    <a href="#">加入我们</a>
                    <a href="#">联系我们</a>
                    <a href="#">商务合作</a>
                    <a href="#">用户协议</a>
                    <a href="#">隐私政策</a>
                    <a href="#">网站地图</a>
                    <a href="#">友情链接</a>
                </div>
            </div>
        </div>
    </div>
</body>

</html>